﻿using ERPPublic;
using SqlSugar;


namespace PersonnelManagement.Domain.PersonnelDomain
{
    /// <summary>
    /// 人力表
    /// </summary>
    [SugarTable("Manpower")]
    public class Manpower:Audit
    {
        /// <summary>
        /// 人员档案id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] // 主键和自增
        public int ManpowerId { get; set; }
        /// <summary>
        /// 档案编号
        /// </summary>
        public string? MNumber { get; set; }
        /// <summary>
        /// 登录账号
        /// </summary>
        public string? Users { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? MName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool? MSex { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? MBirthDay { get; set; }
        /// <summary>
        /// 身份证号码
        /// </summary>
        public string? MIdCard { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string? MPhone { get; set; }
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string? MEmail { get; set; }
        /// <summary>
        /// 微信号
        /// </summary>
        public string? MWeChat { get; set; }
        /// <summary>
        /// QQ号
        /// </summary>
        public string? MQQ { get; set; }
        /// <summary>
        /// 紧急联系人
        /// </summary>
        public string? MContact { get; set; }
        /// <summary>
        /// 紧急联系人电话
        /// </summary>
        public string? MCPhone { get; set; }
        /// <summary>
        /// 户口地址
        /// </summary>
        public string? MPermanent { get; set; }
        /// <summary>
        /// 家庭住址
        /// </summary>
        public string? MResidence { get; set; }
        /// <summary>
        /// 证件照
        /// </summary>
        public string? MIdPhoto { get; set; }
        /// <summary>
        /// 入职时间
        /// </summary>
        public DateTime? MEntryDate { get; set; }
        /// <summary>
        /// 所在部门
        /// </summary>
        public int? SectorId { get; set; }
        /// <summary>
        /// 所在岗位
        /// </summary>
        public int? PostId { get; set; }

    }
}
